
<ion-view hide-tabs="true" view-title="硬币预约">

    <ion-nav-buttons side="left">
        <a href="javascript:history.back(-1)" class="button button-icon icon ion-ios-arrow-back own-bar-p" nav-direction="back"></a>
    </ion-nav-buttons>
    <ion-content class="sys-bg">

        <div class="list">
            <form name="chargeForm" ng-submit="submit()">
                <a class="item  item-icon-right" ui-sref="tabs.coin_bankNet({bankId:bankId})">
                    预约网点
                    <span class="item-note">
                  {{$root.bankNet.netName}}
                </span>
                    <i class="icon ion-ios-arrow-right own-grey"></i>
                </a>
                <div class="item row own-row">
                    <span class="col-33 input-label">预约时间：</span>
                    <ionic-datepicker input-obj="datePickerObj">
                        <a class="button button-positive" ng-click="openDatePicker()" > {{time | date:'yyyy-MM-dd'}}</a>
                    </ionic-datepicker>
                    <ionic-timepicker input-obj="timePickerObj">
                        <a class="button button-positive" ng-click="openTimePicker()" > {{coin.time}}</a>
                    </ionic-timepicker>
                    <div ng-messages="chargeForm.time.$error" style="color: red;margin-right: 50%; font-size: 12px;" role="alert">
                        <div ng-message="required">请填写时间</div>
                    </div>
                </div>
                <div class="item row own-row">
                    <span class="col-20 input-label">兑换一元（枚）：</span>
                    <input class="col-67 own-grey" type="number" value="0"
                           name="yiyuannum"
                           ng-model="coin.yiyuannum"
                           autofocus/>
                    <span class="col-10 input-label">个</span>
                </div>
                <div class="item row own-row">
                    <span class="col-20 input-label">兑换五角（枚）：</span>
                    <input class="col-67 own-grey" type="number" value="0"
                           name="wujiaonum"
                           ng-model="coin.wujiaonum"
                           autofocus/>
                </div>
                <div class="item row own-row">
                    <span class="col-20 input-label">兑换一角（枚）：</span>
                    <input class="col-67 own-grey" type="number" value="0"
                           name="yijiaonum"
                           ng-model="coin.yijiaonum"
                           autofocus/>
                    <span class="col-10 input-label">个</span>
                </div>
                <button class="button button-full button-assertive zf-btn" type="submit" >
                    确定
                </button>
            </form>
        </div>
    </ion-content>

</ion-view>
